Skip to content

Support additional columns in GoogleConversationalSearchTracer#36

Open
viniciusdsmello wants to merge 5 commits into
mainfrom
vini/open-11569-support-additional-columns-in-google-conversational-search
Open

Support additional columns in GoogleConversationalSearchTracer#36
viniciusdsmello wants to merge 5 commits into
mainfrom
vini/open-11569-support-additional-columns-in-google-conversational-search

Conversation

@viniciusdsmello

Copy link
Copy Markdown

Summary

  • Adds additional_columns: support to GoogleConversationalSearchTracer, so callers can attach custom data (e.g. a trace ID) to traced rows — as a static default per client (trace_client) and/or per individual answer_query call, with per-call values taking precedence on key conflict.
  • Keys colliding with reserved row columns (query, answer, latency_ms, timestamp, metadata, steps, context, session_id, user_id) are dropped so custom data can never corrupt core trace fields; non-Hash input is treated as empty rather than raising.
  • Updates the RBI signature and examples/google_tracer.rb to match.

Closes OPEN-11569.

Design & Plan

  • Spec: docs/superpowers/specs/2026-07-03-google-tracer-additional-columns-design.md
  • Plan: docs/superpowers/plans/2026-07-03-google-tracer-additional-columns.md

Test plan

  • bundle exec rake test TEST=./test/openlayer/integrations/google_conversational_search_tracer_test.rb — 6/6 passing
  • bundle exec rubocop on all changed files — no offenses
  • bundle exec rake typecheck:sorbet — no errors
  • Two independent task reviews + one whole-branch review, all approved with no Critical/Important findings

🤖 Generated with Claude Code

https://claude.ai/code/session_01116VitmTfihHJwqBV95utA

Spec for extending GoogleConversationalSearchTracer to accept
customer-supplied additional columns (static per-client and per-call),
so data like a custom trace ID can be attached to imported rows.
…rsationalSearchService tracer example and RBI sig
Companion to the design spec — the task-by-task plan followed by the
subagent-driven implementation of the two feature commits.
Drop the spec and implementation-plan working docs — not intended to
live in the repo's docs/ tree.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant